
using Prism.Ioc;
using Prism.Modularity;

namespace PMS.Client.SystemModule
{
    public class ModuleSystem : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {

        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<Views.MenuView>();
            containerRegistry.RegisterForNavigation<Views.UploadView>();
            containerRegistry.RegisterForNavigation<Views.UserView>();
            containerRegistry.RegisterForNavigation<Views.RoleView>();
            containerRegistry.RegisterForNavigation<Views.BaseInfoView>();

            containerRegistry.RegisterDialog<Views.Dialogs.ModifyMenuView>();
            containerRegistry.RegisterDialog<Views.Dialogs.ModifyUserView>();
            containerRegistry.RegisterDialog<Views.Dialogs.SelectRoleView>();
            containerRegistry.RegisterDialog<Views.Dialogs.ModifyRoleView>();
            containerRegistry.RegisterDialog<Views.Dialogs.SelectUserView>();
            containerRegistry.RegisterDialog<Views.Dialogs.ModifyInfoView>();
        }
    }

}
